<%-- 
    Document   : cadproprietarios
    Created on : 06/04/2013, 18:23:29
    Author     : helton
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link type="text/css" rel="stylesheet" href="css/estilo.css" />
        <script type="text/javascript" src="js/mascaras.js"></script>

        <title>JSP Page</title>
    </head>
    <body>
        <h1 align="center">Cadastro e Manuntenção de Proprietarios</h1>
             <form id="form" class="cadastroProp" method="post" action="/av1/cadproprietario" onsubmit="return validaFormAuto(this);">
            <table align="center">
                <tr>
                    <td align="right" width="150">Nome:</td>
                    <td align="left">
                        <input type="text" name="nome" id="nome" maxlength="100" onchange="ConverteMaiuscula(this);" placeholder="Ex:fulano@gmail.com"
                               size="70"/>
                        <span class='hint'>por exemplo,coloque seu nome</span>
                       
                    </td>
                </tr>
                <tr>
                    <td align="right" width="150">CPF:</td>
                    <td align="left">
                        <input type="text" name="cpf" id="cpf" maxlength="14"
                               onkeypress="mask(this, '###.###.###-##');" placeholder="Ex:fulano@gmail.com"/>
                        <span class='hint'>por exemplo,coloque seu nome</span>
                    </td>
                </tr>
                <tr>
                    <td align="right" width="150">Data de Nascimento:</td>
                    <td align="left">
                        <input type="date" name="nasc" id="nasc" onclick="mask(this, '##/##/####');"/>
                        <span class='hint'>por exemplo,coloque seu nome</span>
                    </td>
                </tr>
                <tr>
                    <td align="right" width="150">Endereço:</td>
                    <td align="left">
                        <input type="text" name="end" id="end" maxlength="50"  onchange="ConverteMaiuscula(this);" placeholder="Ex:fulano@gmail.com"
                               size="50"/>
                        <span class='hint'>por exemplo,coloque seu nome</span>
                    </td>
                </tr>
                <tr>
                    <td align="right" width="150">Bairro:</td>
                    <td align="left">
                        <input type="text" name="bairro" id="bairro" onchange="ConverteMaiuscula(this);" placeholder="Ex:fulano@gmail.com"
                               maxlength="20" size="50"/>
                        <span class='hint'>por exemplo,coloque seu nome</span>
                    </td>
                </tr>
                <tr>
                    <td align="right" width="150">CEP:</td>
                    <td align="left">
                        <input type="text" name="cep" id="cep" maxlength="9"
                               onkeypress="mask(this, '#####-###')" placeholder="Ex:fulano@gmail.com"/>
                        <span class='hint'>por exemplo,coloque seu nome</span>
                    </td>
                </tr>
                <tr>
                    <td align="right" width="150">Cidade:</td>
                    <td align="left">
                        <input type="text" name="cidade" id="cidade" maxlength="20" size="40" onchange="ConverteMaiuscula(this);" placeholder="Ex:fulano@gmail.com"/>
                        <span class='hint'>por exemplo,coloque seu nome</span>
                    </td>
                </tr>
                <tr>
                    <td align="right" width="150">Telefone:</td>
                    <td align="left">
                        <input type="text" name="fone" id="fone" maxlength="12"
                               onkeypress="mask(this, '## ####-####')" placeholder="Ex:fulano@gmail.com"/>
                        <span class='hint'>por exemplo,coloque seu nome</span>
                    </td>
                </tr>
                <tr>
                    <td align="right" width="150">E-mail:</td>
                    <td align="left">
                        <input type="email" name="email" id="email" size="40" onchange="ConverteMaiuscula(this);" onblur="validarEmail(this);"
                               placeholder="Ex:fulano@gmail.com"/>
                        <span class='hint'>por exemplo, seunome@dominio.com.</span>
                    </td>
                </tr> 
                <tr>
                    <td align="right" width="150"></td>
                    <td align="left">
                        <input type="submit" value="Salvar"/>
                    </td>
                </tr>
            </table>
        </form>
    
    </body>
</html>
